package com.example.springboot.controller.view;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class ErrView {


    @RequestMapping("error404")
    public String error404(){
        return "errPage404";
    }
    @RequestMapping("error500")
    public String error500(){
        return "errPage500";
    }

}
